package com.atguigu.spzx.cloud.user.fegin;

import com.atguigu.spzx.cloud.user.entity.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * projectName: com.atguigu.spzx.cloud.user.fegin
 *
 * @author: 赵伟风
 * description:
 */
@FeignClient(value = "spzx-cloud-order")
public interface OrderFeignClient {


    @PostMapping("/api/order/save/batch")
    boolean saveBatch(@RequestBody List<Order> orderList);

}
